package gamegui;

//import gamegui.MainGame.InputListener;

import java.awt.Dimension;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;

import javax.swing.JFrame;

import model.UserBar;
import controller.Preferences;

public class GameMachine {
	 
    public static void main(String[] args){
	  Dimension dim = new Dimension (1100, 730);
      JFrame frame;
	  frame = new JFrame();
	  frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      frame.getContentPane().add(new MainGame());      // Call to constructor
    
      
      frame.setLayout(null);
      frame.setPreferredSize(dim);
      // Frame specifications
      frame.setTitle("Hockey Champs");
      
     
      
      frame.pack();
      frame.setVisible(true);  
    }
   
    
}
